<template>
  <el-rate
    v-bind="$attrs"
    v-on="$listeners"
    :colors="colors">
  </el-rate>
</template>

<script>
  export default {
    name: "my-rate",
    props:{
      /** 评分星星,带默认星级颜色 **/
      colors:{
        type: Array,
        default: ()=>{
          return ['#99A9BF', '#F7BA2A', '#FF9900']
        }
      }
    }
  }
</script>

<style scoped>

</style>
